package com.computercourse.manage_course.dao;

import com.computercourse.framework.domain.course.TeachplanMedia;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @description
 * @author Feng.Yuan
 * @date 2020/1/30 10:39 下午
 * @param null
 * @return
 */
@Repository
public interface TeachplanMediaRepository extends JpaRepository<TeachplanMedia,String> {

    List<TeachplanMedia> findByCourseId(String courseId);
}
